dbnull.value to string c. There are any references about dbnull.value to string c in here. you can look below.